package com.javacoo.xservice.base.support.auth.internal;

import com.javacoo.xservice.base.BaseRequest;
import com.javacoo.xservice.base.support.auth.AuthService;

/**
 * 授权服务默认实现
 * <li></li>
 *
 * @author: duanyong@jccfc.com
 * @since: 2021/3/12 14:51
 */
public class DefaultAuthService implements AuthService<BaseRequest> {

    /**
     * 授权
     * <li></li>
     *
     * @param o : 参数
     * @author duanyong@jccfc.com
     * @date 2021/3/2 18:11
     * @return: void true-> 成功
     */
    @Override
    public boolean auth(BaseRequest o) {
        return true;
    }

    /**
     * 检查
     * <li></li>
     *
     * @param baseRequest : 参数
     * @author duanyong@jccfc.com
     * @date 2021/4/14 13:17
     * @return: boolean true-> 成功
     */
    @Override
    public boolean check(BaseRequest baseRequest) {
        return true;
    }
}
